﻿@model List<Lion.WeiXin.Core.Models.ProductModel>
@{
    Layout = "~/Views/Shared/_AppLayout.cshtml";
}
<ul id="lstProducts" data-role="listview" data-split-icon="gear" data-filter="true" data-filter-placeholder="搜索项目" data-inset="true">
    <!--热销产品Top10-->
    <li data-role="list-divider">@ViewBag.ProductType</li>
    @foreach (Lion.WeiXin.Core.Models.ProductModel item in Model)
    {
        <li data-name="@item.AID" data-icon="false">
            <a href="/WeChatProduct/Details?ID=@item.AID" rel="external" >
                <img src="@item.Image" style="width:100%;height:100%;margin:1px;">
                <p style="margin: 0px;">@item.Name </p>
                <p style="text-decoration: line-through;">￥：@item.Price</p>
                <p style="margin: 0px; color: red;">￥：@item.Current_Price</p>
                <span class="ui-li-count">销量：@item.Sale</span>
            </a>
        </li>
    }
</ul>
